spin_sleep_util
Utils using spin_sleep.
Example: Frame limiter
Interval
may be used to limit a loop to a max fps by calling Interval::tick
at the start or end of each loop.
// Create an interval to tick 144 times each second
let mut interval = interval;
loop